/*
 * @file     g_system.h
 * @brief    source file for setting system
 *
 * Change Logs:
 * Date           Author      Version        Notes
 * 2020-11-05     wushengyan         V1.0.0         the first version
 */
#ifndef __G_SYSTEM_H__
#define __G_SYSTEM_H__

#include <string.h>
#include "g_rom_api.h"
#include "gkt_debug.h"

#define BIT_SET(a,b) ((a) |= (1<<(b)))
#define BIT_CLEAR(a,b) ((a) &= ~(1<<(b)))
#define BIT_FLIP(a,b) ((a) ^= (1<<(b)))				//bit Negation
#define BIT_GET(a,b) (((a) & (1<<(b)))>>(b))

#define _ASSERT(x)	GKT_ASSERT(x)

#define G_DEBUG_LOG(type, message) do {} while (0)

#endif /*__G_SYSTEM_H__*/

